]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Reset correct translation
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 15 Feb 2020 00:57:06 +0000 (01:57 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 17 Feb 2020 11:13:34 +0000 (11:13 +0000)
When showing the lock dialog without animation, we currently reset the
translation of the wrong actor, leaving the unlock dialog off-screen.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2213

js/ui/screenShield.js

index 25501b8509d9eead7116cdc84cfa36db1ca687c5..5c0b76a75be30977917f9ec5738b5d398bfc38c8 100644 (file)
@@ -431,7 +431,7 @@ var ScreenShield = class {
                 },
             });
         } else {
-            this._lockScreenGroup.translation_y = 0;
+            this._lockDialogGroup.translation_y = 0;
             this._lockScreenShown({ fadeToBlack, animateFade: false });
         }